﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OrmSmackdown.NHibernate
{
    public class Company
    {
        public virtual int CompanyId { get; set; }
        public virtual string CompanyName { get; set; }

        private IList<Contact> _contacts = new List<Contact>();
        public virtual IList<Contact> Contacts
        {
            get { return _contacts; }
            set { _contacts = value; }
        }

    }
}
